dnd: Use gtk_widget_render_icon_pixbuf()
authorCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 8 Dec 2010 16:10:34 +0000 (17:10 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 8 Dec 2010 16:10:34 +0000 (17:10 +0100)
Instead of gtk_widget_render_icon() which is now deprecated.

gtk/gtkdnd.c

index 08496d5761dfd69687fff5dbf1f688b026de046d..84e651d668bceb72adc12bb2205ccd4bdaacea57 100644 (file)
@@ -3109,8 +3109,8 @@ set_icon_stock_pixbuf (GdkDragContext    *context,
 
   if (stock_id)
     {
-      pixbuf = gtk_widget_render_icon (window, stock_id,
-                                      GTK_ICON_SIZE_DND, NULL);
+      pixbuf = gtk_widget_render_icon_pixbuf (window, stock_id,
+                                              GTK_ICON_SIZE_DND);
 
       if (!pixbuf)
        {